package dryven.util.json.dryvenjson;

import java.lang.reflect.Field;
import java.lang.reflect.Method;

import dryven.model.di.LocalThreadStorage;

public interface FieldPolicy {
	public boolean includeField(Field f);
	public String getFieldName(Field f);
	public boolean includeMethod(Method m);
	public Object getValueFromMethod(Method m, Object object, LocalThreadStorage diStorage);
	public Object getValueFromField(Field f, Object object, LocalThreadStorage diStorage);
	public String getFieldName(Method m);
}
